package com.momoauth.common.security.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * 防重复提交
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ValidateRepeatSubmit {
    @AliasFor("name")
    String value() default "";
    @AliasFor("value")
    String name() default "";
    long expireSeconds() default 5;
}
